home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / XLSP.AML < prev    next >
Text File  |  1996-07-17  |  3KB  |  56 lines

  1. //--------------------------------------------------------------------
  2. // XLSP.AML
  3. // Syntax highlighting for AutoLisp files (Lsp)
  4. //
  5. // After making changes, save this file and compile with <shift f10>.
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. syntax                            // options:
  11.   'bcfn'                          //   b=show through marked block
  12.                                   //   c=highlight cursor line
  13.                                   //   d=show through closed folds
  14.                                   //   f=use only foreground colors
  15.                                   //   i=ignore keyword case
  16.                                   //   n=highlight numbers
  17.   '{}[]().=+-*/<>\t'              // symbol set 1
  18.   ''                              // symbol set 2
  19.   '"'                             // string characters
  20.   '\\'                            // string literal char
  21.   ''                              // numeric char
  22.   ';'     0                       // eol comment 1 / start column
  23.   ''      0                       // eol comment 2 / start column
  24.   ''      ''                      // multi-line comment 1
  25.   ''      ''                      // multi-line comment 2
  26.   0                               // number of lines to scan backward
  27.  
  28.   // colors
  29.   color brightcyan   on black     // keyword
  30.   color gray         on cyan      // symbol set 1
  31.   color gray         on cyan      // symbol set 2
  32.   color brightred    on black     // string
  33.   color brightred    on black     // numeric
  34.   color brightgreen  on black     // eol comment 1
  35.   color brightgreen  on black     // eol comment 2
  36.   color brightgreen  on black     // comment 1
  37.   color brightgreen  on black     // comment 2
  38.  
  39. keyword
  40.   abs, ads, angle, angtos, append, apply, ascii, assoc, atan, atof,
  41.   atoi, atom, boole, boundp, cadar, cadr, car, carr, cddr, cdr, char,
  42.   chr, close, command, cond, cons, cos, cvunit, defun, distance, entdel,
  43.   entget, entlast, entmakee, entmod, entnext, entsel, entupd, eq, equal,
  44.   eval, exp, expt, findfile, fix, float, foreach, gcd, getangle,
  45.   getcorner, getdist, getenv, getint, getorient, getpoint, getreal,
  46.   getstring, getvar, getword, graphscr, grclear, grdraw, grread, grtext,
  47.   handent, if, initget, inters, itoa, lambda, last, length, line, list,
  48.   listp, load, log, logand, logior, lsh, mapcar, max, member, menucmd,
  49.   min, minusp, nentsel, not, nth, null, numberp, open, or, osnap, pi,
  50.   polar, princ, print, print1, progn, prompt, quote, read, redraw,
  51.   regapp, rem, repeat, reverse, rtos, set, setq, setvar, sin, sqrt,
  52.   ssadd, ssdel, ssget, sslength, ssmemb, ssname, strcase, strcat,
  53.   strlen, subst, substr, tblnext, tblsearch, terpri, textpage, textscr,
  54.   trace, trans, type, untrace, ver, vport, wcmatch, while, write,
  55.   xdroom, xdsize, xload, xunload, zerop
  56.